package lab02.test37;

public class Test37 {
    public static void main(String[] args) {
        Undergraduate xiaoming = new Undergraduate("小明","本科生",88,78,65);
        System.out.println(xiaoming.name+" "+xiaoming.sort+" ");
        xiaoming.undergrade();

        Graduate zhangsan =new Graduate("张三","研究生",86,90,100);
        System.out.println(zhangsan.name+" "+zhangsan.sort);
        zhangsan.grade();
    }
}
